import java.util.Scanner;

public class BinaryConverter {
    public static void main(String[] args) {  
        // 测试代码  
        Scanner scanner=new Scanner(System.in);
        int number=scanner.nextInt();
        System.out.println(convertToBinary(number));  
    }  
  
    public static String convertToBinary(int number) {  
        if (number <= 0) {  
            throw new IllegalArgumentException("Input must be a positive integer");  
        }  
        return Integer.toBinaryString(number);  
    }  
}